import 'babel-polyfill' // 兼容es6原生API
import Vue from 'vue'
import App from './App'
import router from './router'
import store from './store'

import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
Vue.use(ElementUI)

import '@/assets/styles/index.scss' // 公共样式
import '@/assets/font/iconfont.css'
import '@/assets/font/iconfont.js'
import SvgIcon from '@/components/SvgIcon'// svg组件
Vue.component('svg-icon', SvgIcon)// 公共组件

import { VueCommonJs } from '@/assets/utils/base.js'// 公共方法VueCommonJs,CommonJs
Vue.use(VueCommonJs)

Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  render: h => h(App)
})
